package com.mym.demo;


import com.mym.test.Student;

import java.util.Scanner;

/**
 * @author miao
 * @version 1.0
 * @date 2025/4/10 15:39
 * @description
 */
public class StudentTest {
    public static final Student student[]=new Student[5];
    public static final Scanner input = new Scanner(System.in);
    static {
        student[0]=new Student();
        student[1]=new Student();
        student[2]=new Student();
        student[3]=new Student();
        student[4]=new Student();
    }
    public static void main(String[] args) {
        while (true) {
            System.out.println("-----欢迎来到学生管理系统-----");
            System.out.println("1：添加学生");
            System.out.println("2：删除学生");
            System.out.println("3：修改学生");
            System.out.println("4：查找所有学生");
            System.out.println("5：退出");
            System.out.println("请输入你的选择");
            int num = input.nextInt();
            loop:
            switch (num) {
                case 1:
                    break;
                case 2:
                    break;
                case 3:
                    break;
                case 4:
                    break;
                default:
                    System.out.println("谢谢使用");
                    break loop; // 系统退出

            }
        }

    }

}
